package com.bluestone.context;

import java.beans.PropertyChangeListener;


public interface IContext {
	
	public static String PROJECT = "project";
	public static String RESOURCE = "resource";
	public static String TESTSUITE = "testsuite";
	public static String TESTCASE = "testcase";
	public static String COMMAND = "command";
	public static String ACTION = "action";
	
	public static String STARTTIME = "STARTTIME";
	public static String ENDTIME = "ENDTIME";
	public static String EXECUTETIIME = "EXECUTETIME";
	public static String EXECUTERESULT = "EXECUTERESULT";
	public static String EXECUTELOGS = "EXECUTELOGS";
	public static String ALLOWFAILURECOUNT = "ALLOWFAILURECOUNT";
	public static String ALLOWRETRYCOUNT = "ALLOWRETRYCOUNT";

	public void put(String key, Object obj);

	public Object get(String key);

	public String getId();

	public void addPropertyChangeListener(PropertyChangeListener l);

	public void removePropertyChangeListener(PropertyChangeListener l);
}
